<template>
  <div class="app-container">
    <div style="margin-bottom:15px;">
      Profile
      <span>{{info}}</span>
    </div>

  </div>
</template>

<script>
import { profileInfo } from '@/api/profile'
export default{
  name: 'profile',
  data() {
    return {
      info: null,
      config: {}
    }
  },
  computed: {},
  methods: {
    fetchInfo() {
      profileInfo().then(data => {
        this.info = data
      })
    }
  },
  created() {
    this.fetchInfo()
  }
}
</script>
